home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3listv.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_LISTVIEW_H = 1;
- include("oops/r3osgdgt.js")
- include("oops/r3mxgad.js")
-
-
- var R3CLID_LISTVIEW = 34;
-
-
-
-
- // Returns: Boolean, TRUE if there is a selected item, FALSE otherwise
-
- R3GLVM_GETSELECTEDPOS = 34000;
-
- function mR3GLVM_GETSELECTEDPOS() {
- return DoA(this.r3obj, 34000, 0, R3TID_INTEGER, 0);
- }
-
- // Description: returns the index of the item at a given position.
- // Returns: Integer, index of the item or -1 if no item is at a given position
-
- R3GLVM_HIT = 34001;
-
- function mR3GLVM_HIT() {
- return DoA(this.r3obj, 34001, 0, R3TID_INTEGER, 0);
- }
-
-
-
-
- R3GLVA_List = 34500;
- function SetR3GLVA_List(value) {
- R3Set(this.r3obj, R3GLVA_List, value, R3TID_LIST, R3TNF_ARRAY);
- }
-
- function GetR3GLVA_List() {
- return R3Get(this.r3obj, R3GLVA_List, R3TID_LIST, R3TNF_ARRAY);
- }
-
- R3GLVA_Top = 34501;
- function SetR3GLVA_Top(value) {
- R3Set(this.r3obj, R3GLVA_Top, value, R3TID_INTEGER, 0);
- }
-
- function GetR3GLVA_Top() {
- return R3Get(this.r3obj, R3GLVA_Top, R3TID_INTEGER, 0);
- }
-
- R3GLVA_SelectedString = 34503;
- function GetR3GLVA_SelectedString() {
- return R3Get(this.r3obj, R3GLVA_SelectedString, R3TID_STRING, 0);
- }
-
- R3GLVA_ObjectOffset = 34504;
- function SetR3GLVA_ObjectOffset(value) {
- R3Set(this.r3obj, R3GLVA_ObjectOffset, value, R3TID_INTEGER, 0);
- }
-
- function GetR3GLVA_ObjectOffset() {
- return R3Get(this.r3obj, R3GLVA_ObjectOffset, R3TID_INTEGER, 0);
- }
-
- R3GLVA_Icon = 34505;
- function SetR3GLVA_Icon(value) {
- R3Set(this.r3obj, R3GLVA_Icon, value, R3TID_OBJECT, 0);
- }
-
- function GetR3GLVA_Icon() {
- return R3ToJS(R3Get(this.r3obj, R3GLVA_Icon, R3TID_OBJECT, 0));
- }
-
- R3GLVA_ReportAllSelections = 34506;
- function SetR3GLVA_ReportAllSelections(value) {
- R3Set(this.r3obj, R3GLVA_ReportAllSelections, value, R3TID_BOOLEAN, 0);
- }
-
- var R3GLVOO_NOICON = -1;
- var R3GLVOO_OBJECT = -2;
-
-
- function r3Listview () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_LISTVIEW, arguments);
- }
- // Methods
- this.GETSELECTEDPOS=mR3GLVM_GETSELECTEDPOS;
- this.HIT=mR3GLVM_HIT;
-
- // Attributes
- this.GetList=GetR3GLVA_List;
- this.SetList=SetR3GLVA_List;
- this.GetTop=GetR3GLVA_Top;
- this.SetTop=SetR3GLVA_Top;
- this.GetSelectedString=GetR3GLVA_SelectedString;
- this.GetObjectOffset=GetR3GLVA_ObjectOffset;
- this.SetObjectOffset=SetR3GLVA_ObjectOffset;
- this.GetIcon=GetR3GLVA_Icon;
- this.SetIcon=SetR3GLVA_Icon;
- this.SetReportAllSelections=SetR3GLVA_ReportAllSelections;
- }
-
- r3Listview.prototype=new r3Osgadget;
- // r3listv.h_H